package com.assignwork.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.mp.base.BaseEntity;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

/**
 * (TrainStatisticsItem)实体类
 * @since 2024-04-25 14:09:46
 */
@Data
@TableName("train_statistics_item")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "TrainStatisticsItem对象", description = "")
public class TrainStatisticsItem extends BaseEntity  {

    @JsonSerialize(using = ToStringSerializer.class)
    private Long parentId;

    private String workNode;

    private String cargoCategory;

    private String cargoType;

    private Integer amount;

}

